﻿using System;
using System.Collections.Generic;
using System.Text;

namespace UMC.WorkFlow.Entities
{
    /// <summary>
    /// 作业同步
    /// </summary>
    public  partial class TaskSync : UMC.Data.Record
    {
        public ulong? Id
        { get; set; }
        public ulong? InstanceId
        { get; set; }
        public ulong? SessionId
        { get; set; }
        public ulong? TaskId
        { get; set; }
        public String URL
        { get; set; }
        public int? Status
        { get; set; }
        public DateTime? CreationTime
        { get; set; }
        public DateTime? SendTime
        { get; set; }
        public String ServiceId
        { get; set; }
        public String ServiceName
        { get; set; }
        public String ShapeId
        { get; set; }
        public String ShapeName
        { get; set; }
        public int? Times
        { get; set; }
        public String Result
        { get; set; }
        public string Manger { get; set; }

        public string FormData { get; set; }

    }
    public  partial class TaskDesign : UMC.Data.Record
    {
        public ulong? Id
        {
            get;
            set;
        }
        public string Context
        {
            get;
            set;
        }
        public string Username
        {
            get;
            set;
        }
        public DateTime? UpdateDate
        {
            get;
            set;
        }
        /// <summary>
        /// 流程名
        /// </summary>
        public string Name
        {
            get; set;
        }
        /// <summary>
        /// 所属表单
        /// </summary>
        public ulong? TaskId
        {
            get; set;
        }
        public int? Version
        {
            get; set;
        }
    }
    public  partial class TaskCommand : UMC.Data.Record
    {
        public ulong? TaskId
        {
            get;
            set;
        }
        public TaskStatus? TaskStatus
        {
            get;
            set;
        }
        public string ShapeId
        {
            get; set;
        }
        public string Text
        {
            get; set;
        }
        public bool? Hidden
        {
            get; set;
        }
        public CommandType? CommandType { get; set; }
    }
}
